export interface c1ArrType  {
    id: number,
    name: string
}

export interface BaseType {
    code: number,
    message: string,
    ok: boolean
}
export interface ResponseType extends BaseType {
    data: c1ArrType[]
}

export interface AttrValueType {
    id?:number,
    valueName:string,
    attrId?:number  // 所属属性的ID
    flag?: boolean // 控制 编辑/查看
}

export interface AttrType  {
    id?:number,          // 属性ID
    categoryId: number|null, // 三级分类中的ID
    categoryLevel: number, // 几级分类
    attrName:string,
    attrValueList: AttrValueType[]
}

export interface AttrResType extends BaseType{
    data: AttrType[]
}